home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Newbie needs Microsoft libs
- Date: 20 Feb 1996 22:15 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <20FEB199622155233@erich.triumf.ca>
- References: <4gdevd$i2u@cloner3.netcom.com>
- NNTP-Posting-Host: erich.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4gdevd$i2u@cloner3.netcom.com>, mitchb2@ix.netcom.com (Mitch Brink) writes...
- >I am currently learning C from ground zero : printf("Hello World");
- >
- >To help me enjoy it more, I picked up a book called "Game Programming
- >in 21 Days." I also purchased Turbo C++.
- >
- >The author says in the introduction that HE uses Microsoft C, but it's
- >not required. However, when I try to compile his examples, I get
- >"file not found" when it tries to access some of the .h files.
-
- The first question is: what header files does TurboC not find? I think the
- only header that MS uses that TC doesn't is graph.h - TC's graphics stuff is in
- <graphics.h>. MS and Borland use the same names for the DOS specific headers,
- although some of the function names are different.
-
- In any case, header files for commercial compilers are copyright by the vendor,
- and usually (even for the "standard" headers) contain compiler-specific stuff,
- so Microsoft's standard headers may not work with a Borland compiler.
-
- The non-standard headers are definitely non-interchangeable.
-
- A header file alone is of no use - you need the matching library. A header
- is just a text file containing function prototypes and the associated typedefs
- and #defines. The actual functions are in a library.
-
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-